﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.IO;
using IPMsgExpections;
using CommonUtility;

namespace MessageCenter
{
    public class MessageBrExit : MessageModel
    {
        internal MessageBrExit(
            uint version,
            uint indexPack,
            string userName,
            string hostName,
            uint commondWord,
            string attachMessages)
            : base(version, indexPack, userName, hostName, attachMessages)
        {
            this.CommandWords = commondWord;
        }

        //构造函数
        public MessageBrExit(string userName, string hostName, uint indexPackage)
            : base(userName, hostName, indexPackage)
        {
            base.CommandWords = ConstWords.CommonCommand.IPMSG_BR_EXIT;
            base.AttachMessages = userName;
        }
    }
}
